package com.cr.front.authentication.pojo.dto;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class AuthenticationSaveParam {
    //用户名称
    @NotEmpty(message = "姓名不能为空")
    @ApiModelProperty(value = "用户姓名", required = true)
    String name;
    //证件类型
    @NotNull(message = "证件类型不能为空")
    @ApiModelProperty(value = "证件类型", required = true)
    Integer authenticationType;
    //证件号码
    @NotEmpty(message = "证件号码不能为空")
    @ApiModelProperty(value = "证件号码", required = true)
    String authenticationNumber;
    //国籍
    @NotNull(message = "国籍不能为空")
    @ApiModelProperty(value = "国籍", required = true)
    Integer nationality;
    @NotNull(message = "出生日期不能为空")
    @ApiModelProperty(value = "出生日期", required = true)
    //出生日期
    String birthday;
    //证件有效期开始
    @NotEmpty(message = "证件有效期开始不能为空")
    @ApiModelProperty(value = "证件有效期开始", required = true)
    String validDateStart;
    //证件有效期结束
    @NotEmpty(message = "证件有效期结束不能为空")
    @ApiModelProperty(value = "证件有效期结束", required = true)
    String validDateEnd;



}
